ScExp 1.1 for Warcraft 3 Jass New Gen Pack
Updated 06.02.2018
By ScorpioT1000

About
=====================

A cjass/vjass compilers cannot process the map inside CAMPAIGN while saving the map because it's archived.

I've created a little __JNGP__ (http://xgm.guru/forum/showthread.php?t=13118), utility that let you extract, compile the map and archive it back.
  ~~ShadoW DaemoN~~  .

How to install
=====================

1. Extract the "ScExp.zip" into your JNGP folder so that the "ScExp" folder appears.
2. Open the file "wehack.lua" via notepad JNGP, search the following strings:

function compilemap()
    mappath = wehack.findmappath()
    compilemap_path(mappath)
end

REPLACE them with:

dofile("ScExp\\ScExp.lua")

function compilemap()
        mappath = wehack.findmappath()
    if mappath == "" then
        scexpBuildCampaign()
    else
        compilemap_path(mappath)
    end
end

//Dont forget dofile above !

Now a new menu item "Sc Exp." will appear in the WE

How to use
=====================

1. Open WE
2. Open **the campaign**
3. Open **the map in the campaign**
4. Do you map stuff
5. **Save the map**
6. Enter the map name exactly as in the campaign.
7. First WE saves the map and the campaign. Then CampaignBuilder extracts and compiles it. If successful, CampaignBuilder imports compiled map back into the campaign's archive.


==== Advanced options:

- **Enable CampaignBuilder**
 Enable/disable Campaign builder feature.
- **Use "Recent Document" as current campaign**
 Determines whether it should retrieve campaign name from the registry or ask you every time.
- **Compile Map..**
 Compile a separate map.
- **Build campaign map..**
 This function compiles the specified map from inside the campaign without opening it in editor.
- **About..**
 About the seals..
